package pri.syl.xiaowu.websocket.netty.server.handler.core.factory;

import io.netty.handler.timeout.IdleState;

/**
 * ClassName: WebsocketServerHandlerFactory
 * Description: websocket处理工厂
 */
public class WebsocketServerHandlerFactory {
    private WebsocketServerHandlerFactory() {
    }


    public static boolean timeout(IdleState state) {
        if (IdleState.READER_IDLE == state) {
            return Boolean.TRUE;
        }
        return Boolean.FALSE;
    }

}
